<?php
namespace app\model\user;

use think\Model;

class UserModel extends Model
{
    protected $name = 'user';
    protected $pk = 'uid';

    public static function getGroup($uid) {
        return self::where("uid",$uid)->value("group");
    }
}